/**
 * @authors YaoRen (hongjiawei@uworks.cc)
 * @date    2017-01-09 13:55:41
 */

$(function () {
	/**
	$("#friendsList").html(template('t:friendsList', {
		list: data
	}));
    $.ajax({
        url: host + "/uworks/strategyPartner/find",
        type: "POST",
        dataType: "json",
        data: JSON.stringify({
            "page": 0,
            "pageSize": 9999,
        }),
        xhrFields: {
            withCredentials: true // 确保请求会携带上Cookie
        },
        beforeSend: function (xhr) {
            xhr.setRequestHeader("Content-Type", "application/json"); // 设置请求协议，会触发PreFlight
        },
        success: function (respResult) {
            var data = respResult.content;
            $("#friendsList").html(template('t:friendsList', {
                list: data
            }));
        },
        error: function (respResult) {
            alertReturn(JSON.parse(respResult.responseText).message);
        }
    });
	**/
});

